
<div class="modal-header" >
  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  <h3>Login</h3>
</div>
<form ng-submit="login()" ng-controller="loginCtrl">
	<div class="modal-body">
		{{error}}<br/>
		<input type="text" placeholder="User name"  ng-model="username"/><br/>
		<input type="password" placeholder="Password"  ng-model="password"/>
		</div>
	<div class="modal-footer">
		<button class="btn btn-success" type="submit">Login</button>
		<button class="btn btn-primary" type="button">Sign up</button>
</div>
    		</form>
